//调用接口配置文件
import { request } from 'config/request'
//获取进入列表
export async function allList(params) {
    return request({
        url: 'admin/activityRule/getActivityRule',
        method: 'GET',
        data: params,
    });
};
//提交按钮
export async function submit(params) {
	return request({
		url: 'admin/activityRule/createOrUpdate',
		method: 'POST',
		data: params,
		headers: {
			"Content-type": "application/json",
		}
	});
};
